/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pe.gob.foncodes.sega.bs.domain;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author Jesus
 */
@Entity
@Table(name = "DEMO_STATES")
public class DemoStates implements Serializable{
    /**
     * 
     */
    private static final long serialVersionUID = -5680670883367856419L;
    
    private String st;
    private String stName;
    
    public DemoStates(){}
    
    public DemoStates(String st, String stName){
        this.st=st;
        this.stName = stName;
    }

    /**
     * @return the st
     */
    @Id
    @Column(name="ST", unique=true)
    public String getSt() {
        return st;
    }

    /**
     * @param st the st to set
     */
    public void setSt(String st) {
        this.st = st;
    }

    /**
     * @return the stName
     */
    @Column(name="STATE_NAME")
    public String getStName() {
        return stName;
    }

    /**
     * @param stName the stName to set
     */
    public void setStName(String stName) {
        this.stName = stName;
    }
    
}
